import React from 'react'
import { UdDateRangePicker } from '../../../../index'
import { message } from 'antd'

const Demo = () => {
  return <UdDateRangePicker onChange={onChange} />
}

const onChange = (value) => {
  message.success(value[0] + ' ~ ' + value[1])
  console.log(value)
}

export default Demo
